import request from '@/utils/request'
//分页查询
export function searchTpl(data) {
  return request({
    url: '/template/page',
    method: 'post',
    data
  })
}

//save
export function saveTpl(data) {
    return request({
      url: '/template/save',
      method: 'post',
      data
    })
  }

//update
export function updateTpl(data) {
    return request({
      url: '/template/update',
      method: 'post',
      data
    })
  }  